package com.ruoyi.system.service.honor.impl;

import java.util.List;

import com.ruoyi.system.domain.honor.student.GraduateStudentEducation;
import com.ruoyi.system.mapper.honor.GraduateStudentEducationMapper;
import com.ruoyi.system.service.honor.IGraduateStudentEducationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 代性毕业生信息Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-08-01
 */
@Service
public class GraduateStudentEducationServiceImpl implements IGraduateStudentEducationService
{
    @Autowired
    private GraduateStudentEducationMapper graduateStudentEducationMapper;

    /**
     * 查询代性毕业生信息
     * 
     * @param id 代性毕业生信息主键
     * @return 代性毕业生信息
     */
    @Override
    public GraduateStudentEducation selectGraduateStudentEducationById(Long id)
    {
        return graduateStudentEducationMapper.selectGraduateStudentEducationById(id);
    }

    /**
     * 查询代性毕业生信息列表
     * 
     * @param graduateStudentEducation 代性毕业生信息
     * @return 代性毕业生信息
     */
    @Override
    public List<GraduateStudentEducation> selectGraduateStudentEducationList(GraduateStudentEducation graduateStudentEducation)
    {
        return graduateStudentEducationMapper.selectGraduateStudentEducationList(graduateStudentEducation);
    }

    /**
     * 新增代性毕业生信息
     * 
     * @param graduateStudentEducation 代性毕业生信息
     * @return 结果
     */
    @Override
    public int insertGraduateStudentEducation(GraduateStudentEducation graduateStudentEducation)
    {
        return graduateStudentEducationMapper.insertGraduateStudentEducation(graduateStudentEducation);
    }

    /**
     * 修改代性毕业生信息
     * 
     * @param graduateStudentEducation 代性毕业生信息
     * @return 结果
     */
    @Override
    public int updateGraduateStudentEducation(GraduateStudentEducation graduateStudentEducation)
    {
        return graduateStudentEducationMapper.updateGraduateStudentEducation(graduateStudentEducation);
    }

    /**
     * 批量删除代性毕业生信息
     * 
     * @param ids 需要删除的代性毕业生信息主键
     * @return 结果
     */
    @Override
    public int deleteGraduateStudentEducationByIds(Long[] ids)
    {
        return graduateStudentEducationMapper.deleteGraduateStudentEducationByIds(ids);
    }

    /**
     * 删除代性毕业生信息信息
     * 
     * @param id 代性毕业生信息主键
     * @return 结果
     */
    @Override
    public int deleteGraduateStudentEducationById(Long id)
    {
        return graduateStudentEducationMapper.deleteGraduateStudentEducationById(id);
    }
}
